package manytoone.service;

import com.github.pagehelper.PageInfo;
import manytoone.pojo.Room;
import manytoone.pojo.Student;

import java.util.List;

/**
 * @Author 宋伟宁
 * @Date 2023/9/6
 * @Version 1.0
 * 业务层：数据的处理和传递
 **/
public interface StudentService {

    PageInfo<Student> findAll(String currentPage,String mohu);

    List<Room> findRooms();

    boolean save(Student student);

    boolean delete(String ids);

    Student findById(String sid);
}
